<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-touch-fullscreen" content="yes" />
		<meta name="format-detection" content="telephone=no"/>
		<meta name="apple-mobile-web-app-status-bar-style" content="black" /> 
		<meta name="msapplication-tap-highlight" content="no" />
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width, viewport-fit=cover" />
		<title>启蒙优选-支付完成</title>
		<link rel="stylesheet" href="__TMPL__/home/public/assets/css/style.css" />
		<link rel="stylesheet" href="__TMPL__/home/public/assets/css/swiper.min.css">
	</head>
	<style>
		html{background: #fff;}
	</style>
	<body>
		<!-- 个人中心 --> 
		<div class="confirmOrderIndex">
			<div class="content">
				<!-- <div class="order_top">
					<div class="title flex juscbtween">
						<a href="javascript:history.go(-1);" class="flex alitemCenter"><img src="__TMPL__/home/public/assets/img/back.png" alt=""></a>
						<b>确认订单</b>
						<span></span>
					</div>
				</div> -->
				<div class="pay_success">
					<img src="__TMPL__/home/public/assets/img/pay_success.png" alt="">
					<p>支付成功</p>
				</div>
				<div class="pay_bar">
					<a href="/">返回首页</a>
					<a href="javascript:;" class="lookOrder">查看订单</a>
				</div>
			</div>
		</div>
	</body>
	<script rel="stylesheet" src="__TMPL__/home/public/assets/js/jquery-2.0.3.min.js"></script>
	<script rel="stylesheet" src="__TMPL__/home/public/assets/js/layer/layer.js"></script>
  	<script rel="stylesheet" src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
  	<script rel="stylesheet" src="__TMPL__/home/public/assets/js/base.js"></script>
	<script>
		$(function(){
			var order_id = getUrlParam('order_id');

			$('.lookOrder').click(function(){
				location.href="/order_details?order_id="+order_id;
			})
			function getUrlParam(name){
			    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
			    var r = window.location.search.substr(1).match(reg);  //匹配目标参数
			    if (r != null) return unescape(r[2]); return null; //返回参数值
			};
		})
	</script>
</html>
